<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>下水道的包工头博客</title>
    <meta name="description" content="React上 解决 div height从0到auto 没有transition 效果">
    <link rel="icon" href="/sewerganger-blog/images/45007226.jpg">
  <link rel="manifest" href="/sewerganger-blog/manifest.json">
  <link rel="apple-touch-icon" href="/sewerganger-blog/images/45007226.jpg">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;">
    
    <link rel="preload" href="/sewerganger-blog/assets/css/0.styles.24e8e11a.css" as="style"><link rel="preload" href="/sewerganger-blog/assets/js/app.63bbb3d6.js" as="script"><link rel="preload" href="/sewerganger-blog/assets/js/2.130cf600.js" as="script"><link rel="preload" href="/sewerganger-blog/assets/js/11.0747cd60.js" as="script"><link rel="prefetch" href="/sewerganger-blog/assets/js/10.1ee9a4b2.js"><link rel="prefetch" href="/sewerganger-blog/assets/js/12.175b5f6f.js"><link rel="prefetch" href="/sewerganger-blog/assets/js/13.0a1aeebe.js"><link rel="prefetch" href="/sewerganger-blog/assets/js/14.46608ec8.js"><link rel="prefetch" href="/sewerganger-blog/assets/js/15.0f45f7ae.js"><link rel="prefetch" href="/sewerganger-blog/assets/js/16.92fda98f.js"><link rel="prefetch" href="/sewerganger-blog/assets/js/17.1984db6e.js"><link rel="prefetch" href="/sewerganger-blog/assets/js/18.44dc0a8e.js"><link rel="prefetch" href="/sewerganger-blog/assets/js/19.cbd49624.js"><link rel="prefetch" href="/sewerganger-blog/assets/js/20.834fbdab.js"><link rel="prefetch" href="/sewerganger-blog/assets/js/3.f6e049cc.js"><link rel="prefetch" href="/sewerganger-blog/assets/js/4.649e3fd0.js"><link rel="prefetch" href="/sewerganger-blog/assets/js/5.a535dbc2.js"><link rel="prefetch" href="/sewerganger-blog/assets/js/6.dc8df762.js"><link rel="prefetch" href="/sewerganger-blog/assets/js/7.bd3889bb.js"><link rel="prefetch" href="/sewerganger-blog/assets/js/8.19dd839a.js"><link rel="prefetch" href="/sewerganger-blog/assets/js/9.37f814da.js">
    <link rel="stylesheet" href="/sewerganger-blog/assets/css/0.styles.24e8e11a.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/sewerganger-blog/" class="home-link router-link-active"><!----> <span class="site-name">下水道的包工头博客</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/sewerganger-blog/" class="nav-link">主页</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title">文章</span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/sewerganger-blog/article/front/index.html" class="nav-link">前端</a></li><li class="dropdown-item"><!----> <a href="/sewerganger-blog/article/back/index.html" class="nav-link">后端</a></li><li class="dropdown-item"><!----> <a href="/sewerganger-blog/article/hole/index.html" class="nav-link">各种坑</a></li><li class="dropdown-item"><!----> <a href="/sewerganger-blog/article/win-linux/index.html" class="nav-link">win-linux</a></li><li class="dropdown-item"><!----> <a href="/sewerganger-blog/article/wheel/index.html" class="nav-link">造轮子</a></li><li class="dropdown-item"><!----> <a href="/sewerganger-blog/article/others/index.html" class="nav-link">其他</a></li></ul></div></div><div class="nav-item"><a href="/sewerganger-blog/about/index.html" class="nav-link">博主</a></div><div class="nav-item"><a href="https://github.com/sewerganger" target="_blank" rel="noopener noreferrer" class="nav-link external">
  github
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><a href="https://gitee.com/sewerganger/events" target="_blank" rel="noopener noreferrer" class="nav-link external">
  githee
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/sewerganger-blog/" class="nav-link">主页</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title">文章</span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/sewerganger-blog/article/front/index.html" class="nav-link">前端</a></li><li class="dropdown-item"><!----> <a href="/sewerganger-blog/article/back/index.html" class="nav-link">后端</a></li><li class="dropdown-item"><!----> <a href="/sewerganger-blog/article/hole/index.html" class="nav-link">各种坑</a></li><li class="dropdown-item"><!----> <a href="/sewerganger-blog/article/win-linux/index.html" class="nav-link">win-linux</a></li><li class="dropdown-item"><!----> <a href="/sewerganger-blog/article/wheel/index.html" class="nav-link">造轮子</a></li><li class="dropdown-item"><!----> <a href="/sewerganger-blog/article/others/index.html" class="nav-link">其他</a></li></ul></div></div><div class="nav-item"><a href="/sewerganger-blog/about/index.html" class="nav-link">博主</a></div><div class="nav-item"><a href="https://github.com/sewerganger" target="_blank" rel="noopener noreferrer" class="nav-link external">
  github
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><a href="https://gitee.com/sewerganger/events" target="_blank" rel="noopener noreferrer" class="nav-link external">
  githee
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav>  <ul class="sidebar-links"><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading open"><span>前端包工头</span> <span class="arrow down"></span></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/sewerganger-blog/article/front/front0.html" class="active sidebar-link">/article/front/front0.html</a></li></ul></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>后端包工头</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>包工头掉过的坑</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>包工头 love windows&amp;linux</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>包工头造轮子</span> <span class="arrow right"></span></p> <!----></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"></div> <footer class="page-edit"><!----> <div class="last-updated"><span class="prefix">Last Updated: </span> <span class="time">7/11/2019, 10:30:58 AM</span></div></footer> <div class="page-nav"><p class="inner"><!----> <span class="next"><a href="/sewerganger-blog/article/back/back0.html">
          SpringBoot 整合 Redis 及 Redis 工具类
        </a>
        →
      </span></p></div> </main></div><div class="global-ui"></div></div>
    <script src="/sewerganger-blog/assets/js/app.63bbb3d6.js" defer></script><script src="/sewerganger-blog/assets/js/2.130cf600.js" defer></script><script src="/sewerganger-blog/assets/js/11.0747cd60.js" defer></script>
  </body>
</html>
